package com.example.skinhelper;

import android.view.View;

import java.lang.ref.WeakReference;
import java.util.Map;

/**
 * Time: 2020/9/24 0024
 * Author: zoulong
 */
public class SkinView {
    private WeakReference<View> targetView;
    private Map<String, String> attrNV;

    public SkinView() {
    }

    public SkinView(View targetView, Map<String, String> attrNV) {
        this.targetView =new WeakReference<>(targetView) ;
        this.attrNV = attrNV;
    }

    public View getTargetView() {
        return targetView.get();
    }

    public void setTargetView(View targetView) {
        this.targetView =new WeakReference<>(targetView) ;
    }

    public Map<String, String> getAttrNV() {
        return attrNV;
    }

    public void setAttrNV(Map<String, String> attrNV) {
        this.attrNV = attrNV;
    }
}
